viewPort();
function viewPort(){
  let w = window.innerWidth;
  let html = document.querySelector("html");
  html.style.fontSize = w/10 + "px";
  console.log(html.style.fontSize);
}
addEventListener("resize",viewPort,false);